import React, { Component } from 'react';
import logo from './logo.svg';
import 'antd/dist/antd.css';
import DatePicker from 'antd/lib/date-picker';  // 加载 JS
import { Layout } from 'antd';
import './App.css';
import { BrowserHeader, BrowserFooter } from './components/layouts';
import Home from './routes/home';
import { Font } from './components/page';
import States from 'assets/states.js';
import { client } from 'assets/client.js';


class App extends Component {

  state = {
    footer: States.footer,
    font: client.font("22 221", "12222"),
  }
  render() {
    return (
      <div className="App">
        <BrowserHeader />
        <Home />
        <BrowserFooter data={this.state.footer} />
      </div>
    );
  }
}

export default App;
